/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package ar.edu.utn.frsf.ofa.javaee7.tp.ejemplo.ecompras.dao;

import ar.edu.utn.frsf.ofa.javaee7.tp.ejemplo.ecompras.modelo.Insumo;
import java.util.List;
import javax.ejb.Local;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 *
 * @author Martin
 */
@Local
public interface InsumoDAO {

    public Insumo guardar(Insumo i);
    public void borrar(Insumo i);
    public Insumo buscarPorId(int id);
    public List<Insumo> buscarTodos();
}
